package com.lingyu.jsjx.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lingyu.jsjx.domain.TeacherPeerEvaluation;

/**
 * 同行评价Mapper接口
 * 
 * @author ruoyi
 * @date 2025-08-08
 */
public interface TeacherPeerEvaluationMapper extends BaseMapper<TeacherPeerEvaluation>
{
    /**
     * 查询同行评价
     * 
     * @param peerEvalId 同行评价主键
     * @return 同行评价
     */
    public TeacherPeerEvaluation selectTeacherPeerEvaluationByPeerEvalId(Long peerEvalId);

    /**
     * 查询同行评价列表
     * 
     * @param teacherPeerEvaluation 同行评价
     * @return 同行评价集合
     */
    public List<TeacherPeerEvaluation> selectTeacherPeerEvaluationList(TeacherPeerEvaluation teacherPeerEvaluation);

    /**
     * 新增同行评价
     * 
     * @param teacherPeerEvaluation 同行评价
     * @return 结果
     */
    public int insertTeacherPeerEvaluation(TeacherPeerEvaluation teacherPeerEvaluation);

    /**
     * 修改同行评价
     * 
     * @param teacherPeerEvaluation 同行评价
     * @return 结果
     */
    public int updateTeacherPeerEvaluation(TeacherPeerEvaluation teacherPeerEvaluation);

    /**
     * 删除同行评价
     * 
     * @param peerEvalId 同行评价主键
     * @return 结果
     */
    public int deleteTeacherPeerEvaluationByPeerEvalId(Long peerEvalId);

    /**
     * 批量删除同行评价
     * 
     * @param peerEvalIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTeacherPeerEvaluationByPeerEvalIds(Long[] peerEvalIds);
}
